The Logic of the Partial λ-Calculus With Equality
نویسنده
چکیده
We investigate the logical aspects of the partial λ-calculus with equality, exploiting an equivalence between partial λ-theories and partial cartesian closed categories (pcccs) established here. The partial λ-calculus with equality provides a full-blown intuitionistic higher order logic, which in a precise sense turns out to be almost the logic of toposes, the distinctive feature of the latter being unique choice. We give a linguistic proof of the generalization of the fundamental theorem of toposes to pcccs with equality; type theoretically, one thus obtains that the partial λ-calculus with equality encompasses a Martin-Löf-style dependent type theory. This work forms part of the semantical foundations for the higher order algebraic specification language HasCasl.
منابع مشابه
The HasCasl Prologue: Categorical Syntax and Semantics of the Partial λ-Calculus
We develop the semantic foundations of the specification language HasCasl, which combines algebraic specification and functional programming on the basis of Moggi’s partial λ-calculus. Generalizing Lambek’s classical equivalence between the simply typed λ-calculus and cartesian closed categories, we establish an equivalence between partial cartesian closed categories (pccc’s) and partial λ-theo...
متن کاملEquality propositional logic and its extensions
We introduce a new formal logic, called equality propositional logic. It has two basic connectives, $boldsymbol{wedge}$ (conjunction) and $equiv$ (equivalence). Moreover, the $Rightarrow$ (implication) connective can be derived as $ARightarrow B:=(Aboldsymbol{wedge}B)equiv A$. We formulate the equality propositional logic and demonstrate that the resulting logic has reasonable properties such a...
متن کاملSolution to the Range Problem for Combinatory Logic
The λ-theory H is obtained from β-conversion by identifying all closed unsolvable terms (or, equivalently, terms without head normal form). The range problem for the theory H asks whether a closed term has always (up to equality in H) either an infinite range or a singleton range (that is, it is a constant function). Here we give a partial solution to this problem, giving a positive answer for ...
متن کاملImplicative Logic based translations of the λ-calculus into the π-calculus
We study an output-based translation of the λ-calculus with explicit substitution into the synchronous π-calculus – enriched with pairing – that has its origin in mathematical logic, and show that this translation respects reduction. We will define the notion of (explicit) head reduction -which encompasses (explicit) lazy reductionand show that the translation fully represents this reduction in...
متن کاملAn application of information systems: completeness of βη-equality for the λ-calculus with strong sums
In [4], the question is asked whether βη-equality is the maximum typically-ambiguous consistent congruence for the equational theory of the λ-calculus with nite sums. In [1], using syntactic methods, a partial result has been established in that βη-equality is complete for the calculus without the empty type and interpretations in the standard set model, making crucial use of the availability o...
متن کامل